package com.flyco.common.constant;

public enum YunDaStatus {

    got("揽件扫描"),
    transit("运输中"),
    next("下级地点扫描"),
    in("入中转"),
    weight("称重中转"),
    air("航空扫描"),
    out("出中转"),
    arrived("到件"),
    deliver("派件"),
    signed("已签收"),
    ;
    private final String statusValue;

    private YunDaStatus(String statusValue){
        this.statusValue = statusValue;
    }
    public String getStatusValue() {
        return statusValue;
    }

    public static YunDaStatus fromName(String v){
        for (YunDaStatus s : values()){
            if (s.name().equalsIgnoreCase(v)) return s;
        }
        return null;
    }
}
